package com.stylefeng.guns.modular.vpn.entity;

import lombok.Getter;
import lombok.Setter;

/**
 * @Description 实时数据详情
 * @Author Mr.God
 * @Date 2020-03-20 10:23
 **/
@Getter
@Setter
public class RealTimeDetail implements Comparable<RealTimeDetail>{
    private String hTime;//时间段
    private Object regCount;
    private Object totalRegCount;
    private Object onlineCount;
    private Object totalOnlineTime;
    private Object payCount;

    @Override
    public int compareTo(RealTimeDetail o) {
        return Integer.parseInt(o.hTime) - Integer.parseInt(this.hTime) ;
    }
}
